package org.base.common.util;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author He mingliang
 * @date 2020/6/9
 */
@Data
@AllArgsConstructor
public class Pair<L, R> {

    private L left;

    private R right;

    public static <L, R> Pair<L, R> of(L left, R right) {
        return new Pair(left, right);
    }
}
